package edu.uni.dormitory.globalbean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import java.util.Date;

/**
 * @author :kuexun
 * @description : todo
 * @create : 2019/5/28 9:16
 */
public class StudentBedExcelModel extends BaseRowModel{
    @ExcelProperty(index = 0)
    private String studentNo;
    @ExcelProperty(index = 1)
    private String studentName;
    @ExcelProperty(index = 2)
    private String liveAreaName;
    @ExcelProperty(index = 3)
    private String liveRoom;
    @ExcelProperty(index = 4)
    private String bedNumber;
    @ExcelProperty(index = 5,format = "yyyy-MM-dd")
    private Date liveDate;

    @Override
    public String toString() {
        return "StudentBedExcelModel{" +
                "studentNo=" + studentNo +
                ", studentName='" + studentName + '\'' +
                ", liveAreaName='" + liveAreaName + '\'' +
                ", liveRoom='" + liveRoom + '\'' +
                ", bedNumber=" + bedNumber +
                ", liveDate=" + liveDate +
                '}';
    }

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getLiveAreaName() {
        return liveAreaName;
    }

    public void setLiveAreaName(String liveAreaName) {
        this.liveAreaName = liveAreaName;
    }

    public String getLiveRoom() {
        return liveRoom;
    }

    public void setLiveRoom(String liveRoom) {
        this.liveRoom = liveRoom;
    }

    public String getBedNumber() {
        return bedNumber;
    }

    public void setBedNumber(String bedNumber) {
        this.bedNumber = bedNumber;
    }

    public Date getLiveDate() {
        return liveDate;
    }

    public void setLiveDate(Date liveDate) {
        this.liveDate = liveDate;
    }
}
